package com.newlink.building.userinfo.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.newlink.building.userinfo.R

/**
 * @author wangyang
 * @date 2022/11/1
 * @description 我的——账户信息页面——修改头像的Adapter
 */
class Module_UserInfo_BottomSheetListAdapter(data: MutableList<String>) :
    BaseQuickAdapter<String, BaseViewHolder>(R.layout.item_bottom_sheet_list, data) {
    init {
        addChildClickViewIds(R.id.btn_item)
    }

    override fun convert(holder: BaseViewHolder, item: String) {
        holder.setText(R.id.btn_item, item)
    }
}